<p class="Paragraph">Local: Defines a local error-handling routine for a procedure. If this parameter is omitted, the error-handling is valid for the entire module.</p>
<p class="Paragraph">GoTo Labelname: If an error occurs, enables the error-handling routine that starts at the line "Labelname".</p>
<p class="Paragraph">Resume Next: If an error occurs, program execution continues with the statement following the statement in which the error occurred.</p>
<p class="Paragraph">GoTo 0: Disables the error handler in the current procedure.</p>
<p class="Paragraph">The On Error GoTo statement is used to react to errors that may occur in a macro. The statement must be inserted at the start of a procedure (in a local error-handling routine) or at the start of the module.</p>